package com.zhengke.pojo;

public class HelpCenterTree {
	
	private String id;//对应的是树型菜单需要的id 
	
	private String name;//菜单的名称
	
	private String pid;//父级菜单的id 
	
	private String description;//商品的描述
	
	private boolean isParent;//返回自己的当前是不是父级标签的属性true代表的是,false代表的不是
	
	public HelpCenterTree() {
		
	}

	public HelpCenterTree(String id,String name,String description) {
		this.id = id;
		this.name = name;
		this.description = description;
	}
	
	public HelpCenterTree(String id, String name, String pid, String description, boolean isParent) {
		super();
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.description = description;
		this.isParent = isParent;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean getIsParent() {
		return isParent;
	}
	/*
	 * public boolean getIsParent() {
		return isParent;
	}
	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}
	 */

	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}

	@Override
	public String toString() {
		return "GoodsTree [id=" + id + ", name=" + name + ", pid=" + pid + ", description=" + description
				+ ", isParent=" + isParent + "]";
	}
}
